// ******************************************************************************************* // Notification.c CARBONIZED. USES CARBON EVENT MODEL // ******************************************************************************************* #include "Miscellany.h" // …………………………………………………………………………………………………………………………………………………………………………………………………… global variables NMRec gNotificationStructure; long gStartingTickCount; Boolean gNotificationDemoInvoked; Boolean gNotificationInQueue; extern WindowRef gWindowRef; extern ProcessSerialNumber gProcessSerNum; extern RGBColor gWhiteColour; extern RGBColor gBlueColour; // *********************************************************************** doSetUpNotification void doSetUpNotification(void) { doPrepareNotificationStructure(); gNotificationDemoInvoked = true; gStartingTickCount = TickCount(); RGBForeColor(&gWhiteColour); MoveTo(10,279); DrawString("\pPlease cl